// 虚拟机状态常量
export const VM_STATE = {
  RUNNING: 'running',
  SHUTOFF: 'shutoff',
  PAUSED: 'paused',
  CRASHED: 'crashed',
  SUSPENDED: 'suspended',
} as const;

// 状态颜色映射
export const STATE_COLORS = {
  running: 'success',
  shutoff: 'default',
  paused: 'warning',
  crashed: 'error',
  suspended: 'processing',
} as const;

// 状态文本映射
export const STATE_TEXTS = {
  running: '运行中',
  shutoff: '已关机',
  paused: '已暂停',
  crashed: '已崩溃',
  suspended: '已挂起',
} as const;

// 默认配置
export const DEFAULT_CONFIG = {
  POLLING_INTERVAL: 5000,
  WEBSOCKET_RECONNECT_INTERVAL: 3000,
  MAX_RECONNECT_ATTEMPTS: 5,
} as const;